package com.pengtu.entity.business.check;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.pengtu.entity.business.BasicReport;

/**
 * 工程质量监督报告表
 * 
 * @author liuyang
 * 
 */
@Entity
@Table(name = "T_Q_CASE_COMP_REPORT")
public class CompReport extends BasicReport {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private FlowCompletion flowCompletion;
	

	@ManyToOne(targetEntity = FlowCompletion.class, fetch = FetchType.LAZY)
	@JoinColumn(name = "FID")
	public FlowCompletion getFlowCompletion() {
		return flowCompletion;
	}

	public void setFlowCompletion(FlowCompletion flowCompletion) {
		this.flowCompletion = flowCompletion;
	}
}
